package com.smart.thrift.annotation;


import org.springframework.core.annotation.AliasFor;

import java.lang.annotation.*;

@Target({ElementType.TYPE})
@Retention(RetentionPolicy.RUNTIME)
@Inherited
@Documented
@ThriftServer
@ThriftClient
public @interface EnableThrift {

    @AliasFor(annotation = ThriftServer.class, attribute = "scanBasePackages")
    String[] scanBasePackages() default {};

    @AliasFor(annotation = ThriftServer.class, attribute = "scanBasePackageClasses")
    Class<?>[] scanBasePackageClasses() default {};
}
